package day7zy;

import java.util.ArrayList;
import java.util.Scanner;

public class Pjf {
    int[] a = new int[10];

    public int add(String fs) {
        for (int i = 0; i < a.length; i++) {
            a[i] =add(fs);
            System.out.println(a[i]);
            return a[i];
        }return ' ';
    }
}
class pj extends Pjf{
    public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
            pj pjf = new pj();
            String fs = in.next();
            pjf.add(fs);
        }
    }
